﻿using System;
namespace CS_2_4
{
    class Program
    {
        static void DecomPose(int n)
        {
            int k = 2;
            while (n > k)
            {
                if (n % k == 0)
                {
                    Console.Write(k + "*");
                    n /= k;
                }
                else
                {
                    k++;
                }
            }
            Console.Write(k);
        }
        static void Main(String[] args)
        {
            int n = int.Parse(Console.ReadLine());
            Console.Write(n + "=");
            DecomPose(n);
        }
    }
}